#pragma once
#include "Ball.h"
#include "../SGD Wrappers/SGD_String.h"
#include "../SGD Wrappers/SGD_GraphicsManager.h"

#include "Agent.h"
#include "Wall.h"


class CDodgeball :
	public CBall
{
public:
	CDodgeball();
	~CDodgeball();

	void Update(float elapsedTime) override;
	void Render(void)			   override;
	void HandleCollision(const Entity* pOther);	

	void Explosion();

	void SetTimer(float time){ bombtimer = time; }
	float GetTimer(){ return bombtimer; }

	bool explosion = false;
	bool spawn = true;


private:
	float bombtimer = 8.0f;
	
	

};

